<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>添加货币</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <script src="../../script/vue.min.js"></script>
    <script src="../../script/fastclick.js"></script>
    <style>
        #wrapId {
            height: 100%;
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-flex-flow: column;
            flex-flow: column;
        }

        #header {
            background: #fff;
            color: #000;
        }

        #main {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
        }

        body,
        html {
            background: #f3f3f3;
        }

        .success-box {
            text-align: center;
        }

        .success-img {
            margin-top: 80px;
            text-align: center;
            width: 150px;
            margin-left: 50%;
            transform: translateX(-50%);
        }

        .success-title {
            margin-top: 0;
            font-size: 24px;
            color: #333;
        }

        .success-text {
            margin-top: 10px;
            font-size: 16px;
            color: #999;
        }

        .step-btn {
            width: 80%;
            margin-left: 10%;
            margin-top: 62px;
            height: 46px;
            border-radius: 23px;
            background: -webkit-linear-gradient(#ffcf03, #ffa403);
            background: -o-linear-gradient(#ffcf03, #ffa403);
            background: -moz-linear-gradient(#ffcf03, #ffa403);
            background: linear-gradient(#ffcf03, #ffa403);
            /*box-shadow: 0 5px 10px 5px rgba(254, 124, 24, 0.1);*/
            font-size: 17px;
            color: #323232;
            text-align: center;
            line-height: 46px;
        }
    </style>
</head>

<body>
    <div id="wrapId" v-cloak>
        <header id="header" class="aui-bar aui-bar-nav">
            <a class="aui-pull-left">
                <span class="aui-iconfont aui-icon-left" style="color:#000" @click="goIndex">返回</span>
            </a>
            <div class="aui-title">提交成功</div>
        </header>
        <div class="success-box">
            <img class="success-img" src="../../image/audit/success.png">
            <p class="success-title">申请成功</p>
            <p class="success-text">恭喜您额度为<span style="color:#ff6101">2000</span>元，打款中</p>
            <p class="step-btn" @click="goIndex">返回首页</p>
        </div>
    </div>
</body>
<script src="../../script/api.js"></script>
<script>
    apiready = function() {
        open();
        api.addEventListener({
            name:'viewdisappear'
        },function(){
            api.closeWin({
              name: 'wraptwo'
            });
        });
        FastClick.attach(document.body);
        var vm = new Vue({
            el: '#wrapId',
            data: {
                name: '',
                bankCard: '',
                idCard: '',
                maxMoney: '',
                isSocial: true,
                isCar: true
            },
            methods: {
                goIndex() {
                    api.openWin({
                        name: 'home',
                        url: 'home.html',
                        slidBackEnabled: false
                    });
                }
            },
            mounted: function() {

            }
        })
    }
    var header, headerPos, main, mainPos

    function open() {
        header = $api.byId('header');
        $api.fixStatusBar(header);
    }
</script>

</html>
